package com.chaodev.base.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("字典项")
public class DictDetail {
    private String id;
    @ApiModelProperty("字典ID")
    private int dictId;
    @ApiModelProperty("字典项名称")
    private String itemText;
    @ApiModelProperty("字典项值")
    private String itemValue;
    @ApiModelProperty("字典项描述")
    private String description;
    @ApiModelProperty("字典项排序")
    private int sortOrder;
    @ApiModelProperty("创建人")
    private String createBy;
    @ApiModelProperty("创建时间")
    private String createTime;
    @ApiModelProperty("修改人")
    private String updateBy;
    @ApiModelProperty("修改时间")
    private String updateTime;
    @ApiModelProperty("上一级ID")
    private String parentId;
    @Override
    public String toString(){
        return "id:"+this.id+",dictId:"+this.dictId+",itemText:"+this.itemText+",itemValue:"+this.itemValue+",description:"+this.description
                +",sortOrder:"+this.sortOrder+",createBy:"+this.createBy+",updateBy:"+this.updateBy+",parentId:"+this.parentId;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public String getDescription() {
        return description;
    }

    public String getCreateBy() {
        return createBy;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateTime() {
        return createTime;
    }

    public int getDictId() {
        return dictId;
    }

    public String getParentId() {
        return parentId;
    }

    public int getSortOrder() {
        return sortOrder;
    }

    public String getItemText() {
        return itemText;
    }

    public void setDictId(int dictId) {
        this.dictId = dictId;
    }

    public void setItemText(String itemText) {
        this.itemText = itemText;
    }

    public void setSortOrder(int sortOrder) {
        this.sortOrder = sortOrder;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getItemValue() {
        return itemValue;
    }

    public void setItemValue(String itemValue) {
        this.itemValue = itemValue;
    }
}
